import { createApp } from 'vue'
import App from './App.vue'
import './styles/global.scss'
import 'element-plus/dist/index.css'
import { registerRouter } from './router'
import { registerPinia } from './store'
import { registerElementPlus } from './plugins/element'
import { registerEcharts } from './plugins/echarts'
import './styles/global.scss'
const app = createApp(App)

registerPinia(app) // 全局注册Pinia
registerRouter(app)  //全局注册路由
registerElementPlus(app) // 全局注册ElementPlus以及相关配置
registerEcharts(app)  // 全局注册Echarts

app.mount('#app')
